package org.abacus.client.ui.view;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;

public abstract class DialogView extends View {

	public DialogView() {
		super(SWT.DIALOG_TRIM);
	}

	@Override
	protected void initView() {
		GridLayout gridLayout = new GridLayout();
		gridLayout.numColumns = 1;
		gridLayout.makeColumnsEqualWidth = true;

		gridLayout.marginTop = 10;
		gridLayout.marginBottom = 10;

		shell.setLayout(gridLayout);

	}

}
